<form enctype="multipart/form-data" id="addGallery" action="/Gallery/Add/" method="POST" data-ajax="false">
	<input type="hidden" name="MAX_FILE_SIZE" value="2000000" />
	<input type="file" name="file"/>
	<select name="afterwork_id">
		<?php foreach($afterworks as $afterwork):?>
		<option value="<?php echo $afterwork->id?>"><?php echo $afterwork->place?></option>
		<?php endforeach;?>
	</select>
	<input name="title" placeholder="Title"/>
	<input type="submit" value="OK"/>
</form>